<!DOCTYPE html>
<!--
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
-->
<html>
    <head>
        <meta charset="UTF-8">
        <script type="text/javascript">
            function check_input(form){
                if(form.name.value==""){
                      alert("请输入用户名!");
                      form.name.select();
                      return(false);
                }
                
                if(form.password.value==""){
                  alert("请输入用户密码!");
                  form.pwd.select();
                  return(false);
                }
                
                return(true);
            }
        </script>
    </head>
    <body>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr bgcolor="#B0E0E6">
                <td valign="bottom">
                    <table width="766" border="0" align="center" cellpadding="0" cellspacing="0">
                        <tr align="center">
                            <td width="224" height="83" align="center">&nbsp;<h1>网上书店后台管理系统</h1></td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
        <p></p>
        <form name="form1" method="post" action="login_check.php" onSubmit="return check_input(this)">
            <table  border="0" align="center" cellpadding="0" cellspacing="0">
                <tr align="center" height="100" bgcolor="#FFFFFF">
                    <td colspan="2">
                        管理员登录
                    </td>
                </tr>
                <tr align="center" height="25" bgcolor="#FFFFFF">
                    <td>
                        用户名：
                    </td>
                    <td>
                        <input type="text" name="name" size="14" maxlength="20">
                    </td>
                </tr>
                <tr align="center" height="25" bgcolor="#FFFFFF">
                    <td>
                        密&nbsp;&nbsp;码：
                    </td>
                    <td>
                        <input type="password" name="password" size="14" maxlength="20">
                    </td>
                </tr>
                <tr align="center" height="100" bgcolor="#FFFFFF">
                    <td colspan="2">
                        <!--<input name="imageField" type="image" src="">-->
                        <input type="submit" name="submit" value="提交">
                        <input type="reset" name="reset" value="重置">
                    </td>
                </tr>
            </table>
        </form>
        <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <td height="250" bgcolor="#FFFFFF" align="center"></td>
                </td>
            </tr>
            <tr>
                <td height="75" bgcolor="#B0E0E6" align="center" bgcolor="#B0E0E6">后台管理</td>
            </tr>
        </table>
    </body>
</html>